<template>
    <div class="container">
        <h1>你好</h1>
        <h2>第二个</h2>
        <h3>第三个</h3>
    </div>
</template>

<script setup>

</script>

<style scoped lang="scss">
@import './index.scss';

$bgColor: #eee;

.container {
    width: 200px - 20px;
    height: 200px - 20px;
    padding: 10px;
    background-color: chartreuse;

    h1 {
        color: red;
        background-color: $bgColor;
    }

    h2 {
        color: orange;
        background-color: $bgColor;
    }

    h3 {
        color: green;
    }
}
</style>